@font-face{
    font-family: 'myFont';
    src:url('./font/CascadiaCode-Regular-VTT.ttf') format('truetype');
  }
@font-face{
  font-family: 'ChFont';
  src:url('./font/FZQiTi-S14S.TTF') format('truetype')
}
#root {
    position: relative;
  }
  .menu{
    width: 180px;
    height: 50px;
    padding: 8px;
    visibility: hidden;
    position: absolute;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(129, 129, 129, 0.15);
    font-size: 12px;
    font-family: "myFont";
    border-radius: 3px;
    top: 0;
    right: 0;
    background: #E3E3E3;
    z-index: 10;
  }
  .menu::before {
    content: "";
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid #fff;
    position: absolute;
    top: 30px;
    left: -10px;
  }
  .info-menu {
    padding: 0 0 10px 10px;
    font-family: "myFont";
  }
  .info-menu>span {
    display: block;
    font-family: "myFont";
    height: 20px;
  }
  .info-menu i {
    display: inline-block;
    font-style: normal;
    height: 20px;
    width: 60px;
    text-align: right;
  }
  ul {
    padding: 0;
    margin: 0;
  }
  ul li {
    list-style: none;
    z-index: 100;
    padding: 0 5px 5px 10px;
    color: #1890ff;
    font-size: 14px;
  }
  li:hover {
    font-weight: bold;
  }
  .operate-list {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 5;
  }
  .operate-list span { 
    display: block;
    border: 1px solid #ccc;
    width: 15px;
    height: 15px;
    padding: 6px 8px 8px;
    margin-top: 5px;
    cursor: pointer;
  }
  .node-elem {
    font-family: "myFont";
    font-size: 12px;
    background-color: #da8781;
  }
  .map {
    font-family: "myFont";
    text-align: center;
    background-color: #282c34;
  }
  .App-header {
    font-family: "myFont","微软雅黑";
    font-size: 36px;
    text-align: center;
    color: #FAFAFA;
  }
  .text {
    font-family: "myFont","微软雅黑";
    font-size: 14px;
  }
  .App {
    background-color: #282c34;
    min-height: 300vh;
  }